import request from '@/utils/request'

const getSwiper = () => {
  return request({
    url: '/home/swiper'
  })
}

const groups = (params) => {
  return request({
    url: 'home/groups',
    params
  })
}
const citys = (params) => {
  return request({
    url: 'area/city',
    params
  })
}

const hotCitys = () => {
  return request({
    url: 'area/hot'
  })
}
export { getSwiper, groups, citys, hotCitys }
